package com.yeyaomai.dksns.flowis.dao;

import java.util.List;
import java.util.Map;
import com.yeyaomai.dksns.flowis.domain.Operator;

public interface OperatorDao {
	
	void addOperator(Operator operator);

	long getOperatorCount(Map<String, Object> map);

	Operator getOperatorById(long id);
	
	Operator getOperatorByTime(String fromDate,String toDate);

	List<Operator> getOperatorByDay(Map<String, Object> map);
	
	List<Operator> getOperatorByName(Map<String, Object> map);

	void delOperatorByDate(String referDate);
}
